package com.smartHome.pojo.entity;

import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class House {
    @NotNull
    private Integer houseId; //主键id

    @NotNull
    private Integer userId; //所属用户id

    private String houseName; //房子名字

    private String location; //位置

    private LocalDateTime createTime;//创建时间

    private LocalDateTime updateTime;//更新时间

}
